package daxiniot.bttemphumidity;


//"create table user_data("
//        + "id integer primary key autoincrement,"
//        + "time varchar(20),"
//        + "clock varchar(20),"
//        + "temperature int,"
//        + "humidity int"+")";
public class DataBean {
    private Integer id;
    private String time;
    private String clock;
    private int temperature;
    private int humidity;

    public DataBean() {

    }

    public DataBean(Integer id, String time, String clock, int temperature, int humidity) {
        this.id = id;
        this.time = time;
        this.clock = clock;
        this.temperature = temperature;
        this.humidity = humidity;
    }

    public DataBean(String clock, int temperature, int humidity) {
        this.clock = clock;
        this.temperature = temperature;
        this.humidity = humidity;
    }

    public Integer getId() {
        return id;
    }

    public String getTime() {
        return time;
    }

    public String getClock() {
        return clock;
    }

    public int getTemperature() {
        return temperature;
    }

    public int getHumidity() {
        return humidity;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setClock(String clock) {
        this.clock = clock;
    }

    public void setTemperature(int temperature) {
        this.temperature = temperature;
    }

    public void setHumidity(int humidity) {
        this.humidity = humidity;
    }
}
